<template>
  <div calss="create-case">
	  <select-to-create-case :visible.sync="visible" v-model="illType"></select-to-create-case>
	  <core v-if="illType" :ill-type="illType" :patient-id="patientId"  pattern="input"></core>
  </div>
</template>

<script>
import selectToCreateCase from "../../componentsWithData/select-to-create-case";
import core from "./core";
export default {
	name: "case-crate",
	props: {
		patientId: {
			type: [String, Number],
			required: false
		}
	},
	components: {
		[selectToCreateCase.name]: selectToCreateCase,
		core
	},
	data() {
		return {
			visible: true,
			illType: ""
		};
	},
	methods: {
		load() {}
	}
};
</script>

<style>

</style>
